WprAddons\Modules\Offcanvas\Widgets\Wpr_Offcanvas S

Total Complexity 31
Dependencies 6
Dependents 0
Total lines 1,201
Lines of code 1,014
Logical lines of code 115
Comment lines 76
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
register_controls()
D
12
1 804
render()
A
44 10 46
add_responsive_control_offcanvas_box_height()
S
50 1 32
wpr_offcanvas_template()
S
63 3 9
add_responsive_control_offcanvas_box_width()
S
52 1 28
add_control_offcanvas_position()
S
55 1 20
add_control_offcanvas_button_icon()
S
57 1 18
add_control_offcanvas_entrance_animation()
S
58 1 17
get_custom_help_url()
S
76 2 4
add_control_offcanvas_reverse_header()
S
62 1 12
get_categories()
S
81 1 3
get_keywords()
S
77 1 3
get_style_depends()
S
81 1 3
get_title()
S
79 1 3
add_control_offcanvas_entrance_type()
S
91 1 2
add_control_offcanvas_animation_duration()
S
91 1 2
add_control_offcanvas_open_by_default()
S
91 1 2
get_icon()
S
82 1 3
get_name()
S
82 1 3